package com.lzw.mapper;

import com.lzw.bean.Node;
import com.lzw.bean.Role;
import com.lzw.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 林志伟 on 2017/5/11.
 */

@Mapper
@Repository
public interface NodeMapper extends BaseMapper<Role> {

    public List<Node> selectByMenu(@Param("menuId") int menuId);

}
